package com.burgeon.backend.SHOPBACKEND.service;


import com.burgeon.backend.SHOPBACKEND.entity.Classify;
import com.burgeon.backend.SHOPBACKEND.entity.ClassifyItem;
import com.burgeon.backend.service.ex.ErrorDataException;

import java.util.List;

public interface GoodsClassifyItemService {
    List<Classify> showClassifyIstem(String account);

    //添加商品小分类
    Integer insertClassifyItem(ClassifyItem classifyItem) throws ErrorDataException;

    //删除商品小分类
    Integer deleteClassifyItem(Integer id) throws  ErrorDataException;

    //修改商品小分类
    Integer upClassifyItemById(ClassifyItem classifyItem);
}
